﻿using System;
using System.Runtime.InteropServices;
using System.Text;

namespace Valve.VR
{
	// Token: 0x0200050C RID: 1292
	public struct IVRSettings
	{
		// Token: 0x040010DC RID: 4316
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetSettingsErrorNameFromEnum GetSettingsErrorNameFromEnum;

		// Token: 0x040010DD RID: 4317
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._Sync Sync;

		// Token: 0x040010DE RID: 4318
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetBool GetBool;

		// Token: 0x040010DF RID: 4319
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetBool SetBool;

		// Token: 0x040010E0 RID: 4320
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetInt32 GetInt32;

		// Token: 0x040010E1 RID: 4321
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetInt32 SetInt32;

		// Token: 0x040010E2 RID: 4322
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetFloat GetFloat;

		// Token: 0x040010E3 RID: 4323
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetFloat SetFloat;

		// Token: 0x040010E4 RID: 4324
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._GetString GetString;

		// Token: 0x040010E5 RID: 4325
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._SetString SetString;

		// Token: 0x040010E6 RID: 4326
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._RemoveSection RemoveSection;

		// Token: 0x040010E7 RID: 4327
		[MarshalAs(UnmanagedType.FunctionPtr)]
		internal IVRSettings._RemoveKeyInSection RemoveKeyInSection;

		// Token: 0x0200050D RID: 1293
		// (Invoke) Token: 0x06001B31 RID: 6961
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate IntPtr _GetSettingsErrorNameFromEnum(EVRSettingsError eError);

		// Token: 0x0200050E RID: 1294
		// (Invoke) Token: 0x06001B35 RID: 6965
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _Sync(bool bForce, ref EVRSettingsError peError);

		// Token: 0x0200050F RID: 1295
		// (Invoke) Token: 0x06001B39 RID: 6969
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate bool _GetBool(string pchSection, string pchSettingsKey, bool bDefaultValue, ref EVRSettingsError peError);

		// Token: 0x02000510 RID: 1296
		// (Invoke) Token: 0x06001B3D RID: 6973
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetBool(string pchSection, string pchSettingsKey, bool bValue, ref EVRSettingsError peError);

		// Token: 0x02000511 RID: 1297
		// (Invoke) Token: 0x06001B41 RID: 6977
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate int _GetInt32(string pchSection, string pchSettingsKey, int nDefaultValue, ref EVRSettingsError peError);

		// Token: 0x02000512 RID: 1298
		// (Invoke) Token: 0x06001B45 RID: 6981
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetInt32(string pchSection, string pchSettingsKey, int nValue, ref EVRSettingsError peError);

		// Token: 0x02000513 RID: 1299
		// (Invoke) Token: 0x06001B49 RID: 6985
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate float _GetFloat(string pchSection, string pchSettingsKey, float flDefaultValue, ref EVRSettingsError peError);

		// Token: 0x02000514 RID: 1300
		// (Invoke) Token: 0x06001B4D RID: 6989
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetFloat(string pchSection, string pchSettingsKey, float flValue, ref EVRSettingsError peError);

		// Token: 0x02000515 RID: 1301
		// (Invoke) Token: 0x06001B51 RID: 6993
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _GetString(string pchSection, string pchSettingsKey, StringBuilder pchValue, uint unValueLen, string pchDefaultValue, ref EVRSettingsError peError);

		// Token: 0x02000516 RID: 1302
		// (Invoke) Token: 0x06001B55 RID: 6997
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _SetString(string pchSection, string pchSettingsKey, string pchValue, ref EVRSettingsError peError);

		// Token: 0x02000517 RID: 1303
		// (Invoke) Token: 0x06001B59 RID: 7001
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _RemoveSection(string pchSection, ref EVRSettingsError peError);

		// Token: 0x02000518 RID: 1304
		// (Invoke) Token: 0x06001B5D RID: 7005
		[UnmanagedFunctionPointer(CallingConvention.StdCall)]
		internal delegate void _RemoveKeyInSection(string pchSection, string pchSettingsKey, ref EVRSettingsError peError);
	}
}
